#!/usr/bin/env python
# -*- coding: utf-8 -*-

import web, pickle
from bspread import get_raw_ol

class MainServ:
    def GET(self,id):
        #print get_raw_ol(id)
        print pickle.dumps(get_raw_ol(id))

urls = ['/([^/]+)', 'MainServ']

if __name__ == '__main__':
    web.run(urls, globals())
